import 'package:get/get.dart';

import '../pages/xiaogang/xiaogang_view.dart';
import '../pages/xiaogang_commodity_all/xiaogang_commodity_all_binding.dart';
import '../pages/xiaogang_commodity_all/xiaogang_commodity_all_view.dart';
import '../pages/xiaogang_home/xiaogang_home_binding.dart';
import '../pages/xiaogang_home/xiaogang_home_view.dart';
import '../pages/xiaogang_message/xiaogang_message_binding.dart';
import '../pages/xiaogang_message/xiaogang_message_view.dart';
import '../pages/xiaogang_my/xiaogang_my_binding.dart';
import '../pages/xiaogang_my/xiaogang_my_view.dart';

class RouteConfig {
  static const String xiaogang = "/xiaogang";
  static const String xiaogangHome = "/xiaogangHome";
  static const String xiaogangCommodityAll = "/xiaogangCommodityAll";
  // static const String xiaogangRelease = "/xiaogangRelease";
  static const String xiaogangMessage = "/xiaogangMessage";
  static const String xiaogangMy = "/xiaogangMy";

  static final List<GetPage> getPages = [
    //主页面
    GetPage(name: xiaogang, page: () => XiaogangPage(),),
    //四大界面
    GetPage(name: xiaogangHome, page: () => XiaogangHomePage(), binding: XiaogangHomeBinding(),),
    GetPage(name: xiaogangCommodityAll, page: () => XiaogangCommodityAllPage(), binding: XiaogangCommodityAllBinding(),),
    GetPage(name: xiaogangMessage, page: () => XiaogangMessagePage(), binding: XiaogangMessageBinding(),),
    GetPage(name: xiaogangMy, page: () => XiaogangMyPage(), binding: XiaogangMyBinding(),),

  ];
}